-----------------------------------------------------------------------------------------
--
-- main.lua
--
-----------------------------------------------------------------------------------------

-- Your code here

local image  = display.newImage( "20120205_DOG_01.jpg" )

image.height = display.contentWidth
image.width = display.contentHeight

image.x = display.contentWidth / 2
image.y = display.contentHeight / 2

function image:tap( event )
	local textObject = display.newText("############ Dog #####	#######", 0, 0, native.systemFont, 20)

	self.tap = function()
		self:translate( 0, math.abs( self.y - display.contentHeight ) - ( image.y / 2 ) )
	end
end
image:addEventListener( "tap" )
